package com.tramy.data.export.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TramyLineExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TramyLineExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andLineCodeIsNull() {
            addCriterion("line_code is null");
            return (Criteria) this;
        }

        public Criteria andLineCodeIsNotNull() {
            addCriterion("line_code is not null");
            return (Criteria) this;
        }

        public Criteria andLineCodeEqualTo(String value) {
            addCriterion("line_code =", value, "lineCode");
            return (Criteria) this;
        }

        public Criteria andLineCodeNotEqualTo(String value) {
            addCriterion("line_code <>", value, "lineCode");
            return (Criteria) this;
        }

        public Criteria andLineCodeGreaterThan(String value) {
            addCriterion("line_code >", value, "lineCode");
            return (Criteria) this;
        }

        public Criteria andLineCodeGreaterThanOrEqualTo(String value) {
            addCriterion("line_code >=", value, "lineCode");
            return (Criteria) this;
        }

        public Criteria andLineCodeLessThan(String value) {
            addCriterion("line_code <", value, "lineCode");
            return (Criteria) this;
        }

        public Criteria andLineCodeLessThanOrEqualTo(String value) {
            addCriterion("line_code <=", value, "lineCode");
            return (Criteria) this;
        }

        public Criteria andLineCodeLike(String value) {
            addCriterion("line_code like", value, "lineCode");
            return (Criteria) this;
        }

        public Criteria andLineCodeNotLike(String value) {
            addCriterion("line_code not like", value, "lineCode");
            return (Criteria) this;
        }

        public Criteria andLineCodeIn(List<String> values) {
            addCriterion("line_code in", values, "lineCode");
            return (Criteria) this;
        }

        public Criteria andLineCodeNotIn(List<String> values) {
            addCriterion("line_code not in", values, "lineCode");
            return (Criteria) this;
        }

        public Criteria andLineCodeBetween(String value1, String value2) {
            addCriterion("line_code between", value1, value2, "lineCode");
            return (Criteria) this;
        }

        public Criteria andLineCodeNotBetween(String value1, String value2) {
            addCriterion("line_code not between", value1, value2, "lineCode");
            return (Criteria) this;
        }

        public Criteria andLineNameIsNull() {
            addCriterion("line_name is null");
            return (Criteria) this;
        }

        public Criteria andLineNameIsNotNull() {
            addCriterion("line_name is not null");
            return (Criteria) this;
        }

        public Criteria andLineNameEqualTo(String value) {
            addCriterion("line_name =", value, "lineName");
            return (Criteria) this;
        }

        public Criteria andLineNameNotEqualTo(String value) {
            addCriterion("line_name <>", value, "lineName");
            return (Criteria) this;
        }

        public Criteria andLineNameGreaterThan(String value) {
            addCriterion("line_name >", value, "lineName");
            return (Criteria) this;
        }

        public Criteria andLineNameGreaterThanOrEqualTo(String value) {
            addCriterion("line_name >=", value, "lineName");
            return (Criteria) this;
        }

        public Criteria andLineNameLessThan(String value) {
            addCriterion("line_name <", value, "lineName");
            return (Criteria) this;
        }

        public Criteria andLineNameLessThanOrEqualTo(String value) {
            addCriterion("line_name <=", value, "lineName");
            return (Criteria) this;
        }

        public Criteria andLineNameLike(String value) {
            addCriterion("line_name like", value, "lineName");
            return (Criteria) this;
        }

        public Criteria andLineNameNotLike(String value) {
            addCriterion("line_name not like", value, "lineName");
            return (Criteria) this;
        }

        public Criteria andLineNameIn(List<String> values) {
            addCriterion("line_name in", values, "lineName");
            return (Criteria) this;
        }

        public Criteria andLineNameNotIn(List<String> values) {
            addCriterion("line_name not in", values, "lineName");
            return (Criteria) this;
        }

        public Criteria andLineNameBetween(String value1, String value2) {
            addCriterion("line_name between", value1, value2, "lineName");
            return (Criteria) this;
        }

        public Criteria andLineNameNotBetween(String value1, String value2) {
            addCriterion("line_name not between", value1, value2, "lineName");
            return (Criteria) this;
        }

        public Criteria andLineOldCodeIsNull() {
            addCriterion("line_old_code is null");
            return (Criteria) this;
        }

        public Criteria andLineOldCodeIsNotNull() {
            addCriterion("line_old_code is not null");
            return (Criteria) this;
        }

        public Criteria andLineOldCodeEqualTo(String value) {
            addCriterion("line_old_code =", value, "lineOldCode");
            return (Criteria) this;
        }

        public Criteria andLineOldCodeNotEqualTo(String value) {
            addCriterion("line_old_code <>", value, "lineOldCode");
            return (Criteria) this;
        }

        public Criteria andLineOldCodeGreaterThan(String value) {
            addCriterion("line_old_code >", value, "lineOldCode");
            return (Criteria) this;
        }

        public Criteria andLineOldCodeGreaterThanOrEqualTo(String value) {
            addCriterion("line_old_code >=", value, "lineOldCode");
            return (Criteria) this;
        }

        public Criteria andLineOldCodeLessThan(String value) {
            addCriterion("line_old_code <", value, "lineOldCode");
            return (Criteria) this;
        }

        public Criteria andLineOldCodeLessThanOrEqualTo(String value) {
            addCriterion("line_old_code <=", value, "lineOldCode");
            return (Criteria) this;
        }

        public Criteria andLineOldCodeLike(String value) {
            addCriterion("line_old_code like", value, "lineOldCode");
            return (Criteria) this;
        }

        public Criteria andLineOldCodeNotLike(String value) {
            addCriterion("line_old_code not like", value, "lineOldCode");
            return (Criteria) this;
        }

        public Criteria andLineOldCodeIn(List<String> values) {
            addCriterion("line_old_code in", values, "lineOldCode");
            return (Criteria) this;
        }

        public Criteria andLineOldCodeNotIn(List<String> values) {
            addCriterion("line_old_code not in", values, "lineOldCode");
            return (Criteria) this;
        }

        public Criteria andLineOldCodeBetween(String value1, String value2) {
            addCriterion("line_old_code between", value1, value2, "lineOldCode");
            return (Criteria) this;
        }

        public Criteria andLineOldCodeNotBetween(String value1, String value2) {
            addCriterion("line_old_code not between", value1, value2, "lineOldCode");
            return (Criteria) this;
        }

        public Criteria andDeliveryManIdIsNull() {
            addCriterion("delivery_man_id is null");
            return (Criteria) this;
        }

        public Criteria andDeliveryManIdIsNotNull() {
            addCriterion("delivery_man_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeliveryManIdEqualTo(Long value) {
            addCriterion("delivery_man_id =", value, "deliveryManId");
            return (Criteria) this;
        }

        public Criteria andDeliveryManIdNotEqualTo(Long value) {
            addCriterion("delivery_man_id <>", value, "deliveryManId");
            return (Criteria) this;
        }

        public Criteria andDeliveryManIdGreaterThan(Long value) {
            addCriterion("delivery_man_id >", value, "deliveryManId");
            return (Criteria) this;
        }

        public Criteria andDeliveryManIdGreaterThanOrEqualTo(Long value) {
            addCriterion("delivery_man_id >=", value, "deliveryManId");
            return (Criteria) this;
        }

        public Criteria andDeliveryManIdLessThan(Long value) {
            addCriterion("delivery_man_id <", value, "deliveryManId");
            return (Criteria) this;
        }

        public Criteria andDeliveryManIdLessThanOrEqualTo(Long value) {
            addCriterion("delivery_man_id <=", value, "deliveryManId");
            return (Criteria) this;
        }

        public Criteria andDeliveryManIdIn(List<Long> values) {
            addCriterion("delivery_man_id in", values, "deliveryManId");
            return (Criteria) this;
        }

        public Criteria andDeliveryManIdNotIn(List<Long> values) {
            addCriterion("delivery_man_id not in", values, "deliveryManId");
            return (Criteria) this;
        }

        public Criteria andDeliveryManIdBetween(Long value1, Long value2) {
            addCriterion("delivery_man_id between", value1, value2, "deliveryManId");
            return (Criteria) this;
        }

        public Criteria andDeliveryManIdNotBetween(Long value1, Long value2) {
            addCriterion("delivery_man_id not between", value1, value2, "deliveryManId");
            return (Criteria) this;
        }

        public Criteria andDeliveryManIsNull() {
            addCriterion("delivery_man is null");
            return (Criteria) this;
        }

        public Criteria andDeliveryManIsNotNull() {
            addCriterion("delivery_man is not null");
            return (Criteria) this;
        }

        public Criteria andDeliveryManEqualTo(String value) {
            addCriterion("delivery_man =", value, "deliveryMan");
            return (Criteria) this;
        }

        public Criteria andDeliveryManNotEqualTo(String value) {
            addCriterion("delivery_man <>", value, "deliveryMan");
            return (Criteria) this;
        }

        public Criteria andDeliveryManGreaterThan(String value) {
            addCriterion("delivery_man >", value, "deliveryMan");
            return (Criteria) this;
        }

        public Criteria andDeliveryManGreaterThanOrEqualTo(String value) {
            addCriterion("delivery_man >=", value, "deliveryMan");
            return (Criteria) this;
        }

        public Criteria andDeliveryManLessThan(String value) {
            addCriterion("delivery_man <", value, "deliveryMan");
            return (Criteria) this;
        }

        public Criteria andDeliveryManLessThanOrEqualTo(String value) {
            addCriterion("delivery_man <=", value, "deliveryMan");
            return (Criteria) this;
        }

        public Criteria andDeliveryManLike(String value) {
            addCriterion("delivery_man like", value, "deliveryMan");
            return (Criteria) this;
        }

        public Criteria andDeliveryManNotLike(String value) {
            addCriterion("delivery_man not like", value, "deliveryMan");
            return (Criteria) this;
        }

        public Criteria andDeliveryManIn(List<String> values) {
            addCriterion("delivery_man in", values, "deliveryMan");
            return (Criteria) this;
        }

        public Criteria andDeliveryManNotIn(List<String> values) {
            addCriterion("delivery_man not in", values, "deliveryMan");
            return (Criteria) this;
        }

        public Criteria andDeliveryManBetween(String value1, String value2) {
            addCriterion("delivery_man between", value1, value2, "deliveryMan");
            return (Criteria) this;
        }

        public Criteria andDeliveryManNotBetween(String value1, String value2) {
            addCriterion("delivery_man not between", value1, value2, "deliveryMan");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeIdIsNull() {
            addCriterion("delivery_time_id is null");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeIdIsNotNull() {
            addCriterion("delivery_time_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeIdEqualTo(Long value) {
            addCriterion("delivery_time_id =", value, "deliveryTimeId");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeIdNotEqualTo(Long value) {
            addCriterion("delivery_time_id <>", value, "deliveryTimeId");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeIdGreaterThan(Long value) {
            addCriterion("delivery_time_id >", value, "deliveryTimeId");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeIdGreaterThanOrEqualTo(Long value) {
            addCriterion("delivery_time_id >=", value, "deliveryTimeId");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeIdLessThan(Long value) {
            addCriterion("delivery_time_id <", value, "deliveryTimeId");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeIdLessThanOrEqualTo(Long value) {
            addCriterion("delivery_time_id <=", value, "deliveryTimeId");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeIdIn(List<Long> values) {
            addCriterion("delivery_time_id in", values, "deliveryTimeId");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeIdNotIn(List<Long> values) {
            addCriterion("delivery_time_id not in", values, "deliveryTimeId");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeIdBetween(Long value1, Long value2) {
            addCriterion("delivery_time_id between", value1, value2, "deliveryTimeId");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeIdNotBetween(Long value1, Long value2) {
            addCriterion("delivery_time_id not between", value1, value2, "deliveryTimeId");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeIsNull() {
            addCriterion("delivery_time is null");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeIsNotNull() {
            addCriterion("delivery_time is not null");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeEqualTo(String value) {
            addCriterion("delivery_time =", value, "deliveryTime");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeNotEqualTo(String value) {
            addCriterion("delivery_time <>", value, "deliveryTime");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeGreaterThan(String value) {
            addCriterion("delivery_time >", value, "deliveryTime");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeGreaterThanOrEqualTo(String value) {
            addCriterion("delivery_time >=", value, "deliveryTime");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeLessThan(String value) {
            addCriterion("delivery_time <", value, "deliveryTime");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeLessThanOrEqualTo(String value) {
            addCriterion("delivery_time <=", value, "deliveryTime");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeLike(String value) {
            addCriterion("delivery_time like", value, "deliveryTime");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeNotLike(String value) {
            addCriterion("delivery_time not like", value, "deliveryTime");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeIn(List<String> values) {
            addCriterion("delivery_time in", values, "deliveryTime");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeNotIn(List<String> values) {
            addCriterion("delivery_time not in", values, "deliveryTime");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeBetween(String value1, String value2) {
            addCriterion("delivery_time between", value1, value2, "deliveryTime");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeNotBetween(String value1, String value2) {
            addCriterion("delivery_time not between", value1, value2, "deliveryTime");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseIdIsNull() {
            addCriterion("delivery_warehouse_id is null");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseIdIsNotNull() {
            addCriterion("delivery_warehouse_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseIdEqualTo(Long value) {
            addCriterion("delivery_warehouse_id =", value, "deliveryWarehouseId");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseIdNotEqualTo(Long value) {
            addCriterion("delivery_warehouse_id <>", value, "deliveryWarehouseId");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseIdGreaterThan(Long value) {
            addCriterion("delivery_warehouse_id >", value, "deliveryWarehouseId");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseIdGreaterThanOrEqualTo(Long value) {
            addCriterion("delivery_warehouse_id >=", value, "deliveryWarehouseId");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseIdLessThan(Long value) {
            addCriterion("delivery_warehouse_id <", value, "deliveryWarehouseId");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseIdLessThanOrEqualTo(Long value) {
            addCriterion("delivery_warehouse_id <=", value, "deliveryWarehouseId");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseIdIn(List<Long> values) {
            addCriterion("delivery_warehouse_id in", values, "deliveryWarehouseId");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseIdNotIn(List<Long> values) {
            addCriterion("delivery_warehouse_id not in", values, "deliveryWarehouseId");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseIdBetween(Long value1, Long value2) {
            addCriterion("delivery_warehouse_id between", value1, value2, "deliveryWarehouseId");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseIdNotBetween(Long value1, Long value2) {
            addCriterion("delivery_warehouse_id not between", value1, value2, "deliveryWarehouseId");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseIsNull() {
            addCriterion("delivery_warehouse is null");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseIsNotNull() {
            addCriterion("delivery_warehouse is not null");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseEqualTo(String value) {
            addCriterion("delivery_warehouse =", value, "deliveryWarehouse");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseNotEqualTo(String value) {
            addCriterion("delivery_warehouse <>", value, "deliveryWarehouse");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseGreaterThan(String value) {
            addCriterion("delivery_warehouse >", value, "deliveryWarehouse");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseGreaterThanOrEqualTo(String value) {
            addCriterion("delivery_warehouse >=", value, "deliveryWarehouse");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseLessThan(String value) {
            addCriterion("delivery_warehouse <", value, "deliveryWarehouse");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseLessThanOrEqualTo(String value) {
            addCriterion("delivery_warehouse <=", value, "deliveryWarehouse");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseLike(String value) {
            addCriterion("delivery_warehouse like", value, "deliveryWarehouse");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseNotLike(String value) {
            addCriterion("delivery_warehouse not like", value, "deliveryWarehouse");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseIn(List<String> values) {
            addCriterion("delivery_warehouse in", values, "deliveryWarehouse");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseNotIn(List<String> values) {
            addCriterion("delivery_warehouse not in", values, "deliveryWarehouse");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseBetween(String value1, String value2) {
            addCriterion("delivery_warehouse between", value1, value2, "deliveryWarehouse");
            return (Criteria) this;
        }

        public Criteria andDeliveryWarehouseNotBetween(String value1, String value2) {
            addCriterion("delivery_warehouse not between", value1, value2, "deliveryWarehouse");
            return (Criteria) this;
        }

        public Criteria andCarportIdIsNull() {
            addCriterion("carport_id is null");
            return (Criteria) this;
        }

        public Criteria andCarportIdIsNotNull() {
            addCriterion("carport_id is not null");
            return (Criteria) this;
        }

        public Criteria andCarportIdEqualTo(Long value) {
            addCriterion("carport_id =", value, "carportId");
            return (Criteria) this;
        }

        public Criteria andCarportIdNotEqualTo(Long value) {
            addCriterion("carport_id <>", value, "carportId");
            return (Criteria) this;
        }

        public Criteria andCarportIdGreaterThan(Long value) {
            addCriterion("carport_id >", value, "carportId");
            return (Criteria) this;
        }

        public Criteria andCarportIdGreaterThanOrEqualTo(Long value) {
            addCriterion("carport_id >=", value, "carportId");
            return (Criteria) this;
        }

        public Criteria andCarportIdLessThan(Long value) {
            addCriterion("carport_id <", value, "carportId");
            return (Criteria) this;
        }

        public Criteria andCarportIdLessThanOrEqualTo(Long value) {
            addCriterion("carport_id <=", value, "carportId");
            return (Criteria) this;
        }

        public Criteria andCarportIdIn(List<Long> values) {
            addCriterion("carport_id in", values, "carportId");
            return (Criteria) this;
        }

        public Criteria andCarportIdNotIn(List<Long> values) {
            addCriterion("carport_id not in", values, "carportId");
            return (Criteria) this;
        }

        public Criteria andCarportIdBetween(Long value1, Long value2) {
            addCriterion("carport_id between", value1, value2, "carportId");
            return (Criteria) this;
        }

        public Criteria andCarportIdNotBetween(Long value1, Long value2) {
            addCriterion("carport_id not between", value1, value2, "carportId");
            return (Criteria) this;
        }

        public Criteria andCarportNameIsNull() {
            addCriterion("carport_name is null");
            return (Criteria) this;
        }

        public Criteria andCarportNameIsNotNull() {
            addCriterion("carport_name is not null");
            return (Criteria) this;
        }

        public Criteria andCarportNameEqualTo(String value) {
            addCriterion("carport_name =", value, "carportName");
            return (Criteria) this;
        }

        public Criteria andCarportNameNotEqualTo(String value) {
            addCriterion("carport_name <>", value, "carportName");
            return (Criteria) this;
        }

        public Criteria andCarportNameGreaterThan(String value) {
            addCriterion("carport_name >", value, "carportName");
            return (Criteria) this;
        }

        public Criteria andCarportNameGreaterThanOrEqualTo(String value) {
            addCriterion("carport_name >=", value, "carportName");
            return (Criteria) this;
        }

        public Criteria andCarportNameLessThan(String value) {
            addCriterion("carport_name <", value, "carportName");
            return (Criteria) this;
        }

        public Criteria andCarportNameLessThanOrEqualTo(String value) {
            addCriterion("carport_name <=", value, "carportName");
            return (Criteria) this;
        }

        public Criteria andCarportNameLike(String value) {
            addCriterion("carport_name like", value, "carportName");
            return (Criteria) this;
        }

        public Criteria andCarportNameNotLike(String value) {
            addCriterion("carport_name not like", value, "carportName");
            return (Criteria) this;
        }

        public Criteria andCarportNameIn(List<String> values) {
            addCriterion("carport_name in", values, "carportName");
            return (Criteria) this;
        }

        public Criteria andCarportNameNotIn(List<String> values) {
            addCriterion("carport_name not in", values, "carportName");
            return (Criteria) this;
        }

        public Criteria andCarportNameBetween(String value1, String value2) {
            addCriterion("carport_name between", value1, value2, "carportName");
            return (Criteria) this;
        }

        public Criteria andCarportNameNotBetween(String value1, String value2) {
            addCriterion("carport_name not between", value1, value2, "carportName");
            return (Criteria) this;
        }

        public Criteria andCreateIdIsNull() {
            addCriterion("create_id is null");
            return (Criteria) this;
        }

        public Criteria andCreateIdIsNotNull() {
            addCriterion("create_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreateIdEqualTo(Long value) {
            addCriterion("create_id =", value, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdNotEqualTo(Long value) {
            addCriterion("create_id <>", value, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdGreaterThan(Long value) {
            addCriterion("create_id >", value, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdGreaterThanOrEqualTo(Long value) {
            addCriterion("create_id >=", value, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdLessThan(Long value) {
            addCriterion("create_id <", value, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdLessThanOrEqualTo(Long value) {
            addCriterion("create_id <=", value, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdIn(List<Long> values) {
            addCriterion("create_id in", values, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdNotIn(List<Long> values) {
            addCriterion("create_id not in", values, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdBetween(Long value1, Long value2) {
            addCriterion("create_id between", value1, value2, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdNotBetween(Long value1, Long value2) {
            addCriterion("create_id not between", value1, value2, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andLineStatusIsNull() {
            addCriterion("line_status is null");
            return (Criteria) this;
        }

        public Criteria andLineStatusIsNotNull() {
            addCriterion("line_status is not null");
            return (Criteria) this;
        }

        public Criteria andLineStatusEqualTo(Integer value) {
            addCriterion("line_status =", value, "lineStatus");
            return (Criteria) this;
        }

        public Criteria andLineStatusNotEqualTo(Integer value) {
            addCriterion("line_status <>", value, "lineStatus");
            return (Criteria) this;
        }

        public Criteria andLineStatusGreaterThan(Integer value) {
            addCriterion("line_status >", value, "lineStatus");
            return (Criteria) this;
        }

        public Criteria andLineStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("line_status >=", value, "lineStatus");
            return (Criteria) this;
        }

        public Criteria andLineStatusLessThan(Integer value) {
            addCriterion("line_status <", value, "lineStatus");
            return (Criteria) this;
        }

        public Criteria andLineStatusLessThanOrEqualTo(Integer value) {
            addCriterion("line_status <=", value, "lineStatus");
            return (Criteria) this;
        }

        public Criteria andLineStatusIn(List<Integer> values) {
            addCriterion("line_status in", values, "lineStatus");
            return (Criteria) this;
        }

        public Criteria andLineStatusNotIn(List<Integer> values) {
            addCriterion("line_status not in", values, "lineStatus");
            return (Criteria) this;
        }

        public Criteria andLineStatusBetween(Integer value1, Integer value2) {
            addCriterion("line_status between", value1, value2, "lineStatus");
            return (Criteria) this;
        }

        public Criteria andLineStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("line_status not between", value1, value2, "lineStatus");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}